<?php 

/**
 * 退换货管理
 * @copyright   Copyright (c) 2006 - 2010 DZH 友拓软件友拓通
 * @category    销售
 * @package   Action
 * @author     庄敏学
 * @version  2.1,2012-07-22
 */

class ReturnSaleOrderPublicAction extends RelationCommonAction {

	///退货列表
	public function alistReturnOrder(){
		$this->_autoIndex('index');
	}
	///换货列表
	public function alistSaleOrder(){
		$this->_autoIndex('index');
	}
	///退货不可用产品
	public function returnNoUse(){
		$this->list	= D('ReturnSaleOrder')->returnNoUseList();
		if ($_POST['search_form']) {
			$this->display ('noUseList');
		}else {
			$this->display('returnNoUse');
		}
	}
}